package tgc.edu.tgq.demo.entity;

import javax.persistence.Entity;

import tgc.edu.tgq.demo.custom.BaseEntity;
@Entity
public class Course extends BaseEntity<Integer>{
	private String name;
	private Integer classHour;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getClassHour() {
		return classHour;
	}
	public void setClassHour(Integer classHour) {
		this.classHour = classHour;
	}
	
	@Override
	public String toString() {
		return "Course [id=" + getId() + ", name=" + name + ", classHour=" + classHour + "]";
	}
	
	
	
	

}
